<div class="wrapper-md">
	<div class="row" style="padding-left: 30px; padding-right: 30px;">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading font-bold" style="text-align: right;">
					<select class="input-sm form-control w-sm inline v-middle" ng-model="selectedItem" ng-change="sltExpression()" ng-show="!isSave">
						<option value="default">请选择</option>
						<option value="table">table</option>
						<option value="tab-table">tab-table</option>
						<option value="form">form</option>
						<option value="text-form">text-form</option>
						<option value="flow">flow</option>
					</select>
					<!-- <button class="btn btn-sm btn-default" ng-click="addExpression()">添加</button> -->
					<button class="btn btn-xs btn-success" ng-show="!isSave" ng-click="saveExpression()">保存</button>
					<button class="btn btn-xs btn-default" ng-show="!isSave" ng-click="cancelExpression()">取消</button>
					<button class="btn btn-xs btn-info" ng-show="isSave" ng-click="editExpression()">编辑</button>
				</div>
				<div class="panel-body">
					<div ng-if="!isSave">
						<textarea class="form-control" rows="10" ng-model="info.expression"></textarea>
					</div>
					<br/>
					<div ng-if="isSave">
						<div ng-repeat="trans in expressionData track by $index">
							<m-transform-content trans-type="trans.type" trans-data="trans.data"></m-transform-content>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>